#include <iostream>
#include <string>


bool res(std::string str1, std::string str2) {
    return str1 > str2;
}
int main() {
    std::string str = "18";
    std::string str2 = "5";
    bool a =(str > str2);
    std::cout << a << " ";
    std::cout << res(str, str2);
    return 0;
}
